package com.probiz.estore.cart.service.impl;

import com.probiz.estore.common.model.cart.Shoppingcart;
import com.probiz.estore.common.model.cart.ShoppingcartPromotion;
import com.probiz.estore.core.service.impl.GenericManagerImpl;
import com.probiz.estore.cart.service.ShoppingcartPromotionManager;
//import com.probiz.estore.cart.dao.ShoppingcartPromotionDao;


/**
 * Manager implementation for ShoppingcartPromotion, responsible for business processing, and communicate between web and persistence layer.
 */
public class ShoppingcartPromotionManagerImpl extends GenericManagerImpl<ShoppingcartPromotion> implements ShoppingcartPromotionManager {

//	private ShoppingcartPromotionDao shoppingcartPromotionDao = null;

	/**
	 * @param shoppingcartPromotionDao
	 *            the shoppingcartPromotionDao to set
	 */
//	public void setShoppingcartPromotionDao(ShoppingcartPromotionDao shoppingcartPromotionDao) {
//		this.shoppingcartPromotionDao = shoppingcartPromotionDao;
//	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.probiz.estore.core.service.impl.GenericManagerImpl#init()
	 */
	@Override
	protected void initManager() {
//		dao = shoppingcartPromotionDao;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.probiz.estore.core.service.impl.GenericManagerImpl#preDelete(java.lang.Object)
	 */
	@Override
	protected void preDelete(ShoppingcartPromotion entity) {

	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.probiz.estore.core.service.impl.GenericManagerImpl#preSave(java.lang.Object)
	 */
	@Override
	protected void preSave(ShoppingcartPromotion entity) {

	}

	public void deleteShoppingcartPromotion(Shoppingcart cart) {
//		this.shoppingcartPromotionDao.deleteShoppingcartPromotion(cart);
	}

}
